package com.dbky.alg.core.properties;

/**
 * @Auther: tianchao
 * @Date: 2021/12/12 19:16
 * @Description:
 */
public interface SecurityConstants {
    /**
     * 默认的处理验证码的url前缀
     */
    String DEFAULT_VALIDATE_CODE_URL_PREFIX = "/code";

    /**
     * 验证短信验证码时，http请求中默认的携带短信验证码信息的参数的名称
     */
    String DEFAULT_PARAMETER_NAME_CODE_SMS = "smsCode";

    String DEFAULT_PARAMETER_NAME_CODE_IMAGE = "imageCode";

    /**
     * 当请求需要身份认证时，默认跳转的url
     *
     * @see SecurityController
     */
    String DEFAULT_UNAUTHENTICATION_URL = "/authentication/require";

    /**
     * 默认的用户名密码登录请求处理url
     */
    String DEFAULT_SIGN_IN_PROCESSING_URL_FORM = "/authentication/form";
    /**
     *
     */
    String DEFAULT_SESSION_INVALID_URL="/alg-session-invalid.html";
}
